package com.smart.manager.system.entities.enums;


import com.smart.common.annotation.DictEnum;
import com.smart.common.entities.constant.TagColor;
import com.smart.common.entities.core.BaseEnum;
import io.ebean.annotation.DbEnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;


/**
 * 接口状态枚举
 *
 * @author Administrator
 * @date 2022/08/07
 */


@Getter
@DictEnum(title = "配置状态")

@AllArgsConstructor
public enum ConfigState implements BaseEnum {
    /**
     * 枚举值
     */
    NORMAL("正常", TagColor.GREEN),
    DISUSE("废弃", TagColor.RED);
    private final String label;

    private final String theme;

    @Override
    @DbEnumValue
    public String getValue() {
        return name();
    }


}
